<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <#include "../common.ftl" >
</head>
<body>
<input type="hidden" name="id" value="${(project.id)!}">
<input type="hidden" name="basicId" value="${(project.basicQuotationBean.id)!}">
<#--<input type="hidden" name="projectNo" value="${(peoject.projectNo)!}">-->
<div class="layui-col-md12">
    <div class="layui-card">
        <div class="layui-card-body">
            <form class="layui-form">
                <div class="layui-form-item layui-row">
                    <div class="layui-col-xs6">
                        <label class="layui-form-label">项目编号</label>
                        <div class="layui-input-block">
                            <input type="text" class="layui-input"
                                   name="projectNo"   value="${(project.projectNo)!}" readonly="readonly">
                        </div>
                    </div>
                    <div class="layui-col-xs6">
                        <label class="layui-form-label">产品</label>
                        <div class="layui-input-block">
                            <input type="text" class="layui-input"
                                   name="" id="productName" value="${(project.basicQuotationBean.productName)!}"
                                   readonly="readonly">
                        </div>
                    </div>
                </div>

                <div class="layui-form-item layui-row">
                    <div class="layui-col-xs6">
                        <label class="layui-form-label">数量</label>
                        <div class="layui-input-block">
                            <input type="text" class="layui-input"
                                   name="" value="${(project.basicQuotationBean.productCount)!}" readonly="readonly">
                        </div>
                    </div>
                    <div class="layui-col-xs6">
                        <label class="layui-form-label">交付日期</label>
                        <div class="layui-input-block">
                            <input type="text" class="layui-input"
                                   name="" value="${(project.basicQuotationBean.deliveryDate)?string('YYYY-MM-dd')!}"
                                   readonly="readonly">
                        </div>
                    </div>
                </div>

            </form>
        </div>
    </div>
</div>

<table id="projectDetailList" class="layui-table" lay-filter="projectDetailFilter"></table>

<script type="text/javascript" src="${ctx}/layuimini/js/production/detail.js"></script>
<script type="text/html" id="tool">
    <@shiro.hasRole name="produce">
        <a class="layui-btn layui-btn-primary  layui-btn-xs" lay-event="pick">领料</a>
    </@shiro.hasRole>

</script>

</body>

</html>

